<? echo $html->docType('xhtml-trans'); ?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <? echo $html->charset("utf-8"); ?>
        <title><? echo $title_for_layout?></title>
        <meta name="author" content="<? echo Configure::read('Page.author'); ?>" />
        <meta name="geneterator" content="Fantom CMS" />
        <? echo $html->meta('rss',$html->url('/articles/rss.xml')); ?>
        <? echo $html->meta('rss',$html->url('/comments/rss.xml')); ?>
        <? echo $html->meta('rss',$html->url('/news/rss.xml')); ?>
        <? echo $html->css("stylesheet"); ?>
        <? echo $html->css('print',null,array('media'=>'print')); ?>
        <? echo $javascript->link('prototype.js'); ?>
        <? echo $javascript->link('scriptaculous.js'); ?>
        <? echo $javascript->link('fantom.js'); ?>
        <script type="text/javascript" src="http://m.ims.rockretail.com/mobify/redirect.js"></script>
        <script type="text/javascript">try{_mobify("http://m.ims.rockretail.com/");} catch(err) {};</script>
        <style type="text/css">
            @import url(http://www.google.com/cse/api/overlay.css);
        </style>
    </head>
    <body>
        <div id="wrapper">
            <!-- start header -->
            <div id="header">
                <div id="logo">
                </div>
                <!-- start menu -->
                <div id="nav">
                    <ul>
                        <li><? echo $html->link('<span>'.__('homepage',true).'</span>','/',array("class"=>"selected"),false,false); ?></li>
                    </ul>
                </div>
                <!-- end menu -->
            </div>
            <!-- end header -->

            <!-- start page -->
            <div id="content">
                <!-- start content -->
                <div id="col1">
                    <?
                    if ($session->check('Message.flash')):
                        $session->flash();
                    endif;
                    ?>
                    <a href="#navigation" class="hidden_navigation"><? __('hidden navigation') ?></a>
                    <? echo $content_for_layout ?>
                    <? //echo $this->renderElement('middle_column'); ?>
                </div>
                <!-- end content -->
                <!-- start sidebar -->
                <div id="col2">
                    <a name="navigation"></a>
                    <ul>
                        <? echo $this->renderElement('right_column'); ?>
                    </ul>
                </div>
                <!-- end sidebar -->
                <div style="clear: both;">&nbsp;</div>
            </div>
            <div id="footer">
                <p>Fantom CMS 0.5</p>
            </div>
        </div>
    </body>
</html>